<?php

use Illuminate\Support\Facades\Route;

Route::prefix('')->group(function () {
    Route::get('', 'IndexController@index');

    Route::prefix('api')->group(function() {
        Route::prefix('gm-tool')->name('gm-tool.')->group(function() {
            Route::post('user-vip', 'GmToolController@userVip')->name('userVip');
            Route::post('user-level', 'GmToolController@userLevel')->name('userLevel');
            Route::post('transfer-user', 'GmToolController@transferUser')->name('transferUser');
        });
        Route::get('user/info', 'UserController@getInfo');
    });
});
